﻿<UserControl
    x:Class="EPPlayer.SkillControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:EPPlayer"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="200"
    d:DesignWidth="336">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="270"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="0"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <TextBlock Grid.Row="0" Grid.Column="0" Text="{Binding name}" Style="{StaticResource ItemHeaderTextStyle}"></TextBlock>
        <TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding cookedValue}" Style="{StaticResource ItemHeaderTextStyle}" Margin="0,0,10,0"/>
        <!--
        <TextBlock Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="1" Text="{Binding description}" FontSize="16" TextWrapping="Wrap" TextTrimming="WordEllipsis"></TextBlock>
        -->
        <Slider    Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="1" Value="{Binding Mode=TwoWay, Path=rawValue}" Minimum="0" Maximum="80" StepFrequency="5"/>
    </Grid>
</UserControl>
